<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后台首页|学生信息管理系统</title>
    <!-- zui css -->
    <link rel="stylesheet" href="/admin/dist/css/zui.min.css">
    <link rel="stylesheet" href="/admin/dist/theme/blue.css">
    <!-- app css -->
    <link rel="stylesheet" href="/admin/css/app.css">
    <!-- jquery js -->
    <script src="/admin/dist/lib/jquery/jquery.js"></script>

</head>
<body>
<div class="wrapper">
    <header class="main-header">
        <nav class="navbar navbar-fixed-top bg-primary">
            <div class="navbar-header">
                <a class="navbar-toggle" href="javascript:;" data-toggle="collapse" data-target=".navbar-collapse"><i
                        class="icon icon-th-large"></i></a>
                <a class="sidebar-toggle" href="javascript:;" data-toggle="push-menu"><i class="icon icon-bars"></i></a>
                <a class="navbar-brand" href="#">
                    <span class="logo">学生信息管理系统</span>
                    <span class="logo-mini">Admin</span>
                </a>
            </div>
            <div class="collapse navbar-collapse">
                <div class="container-fluid">
                    <ul class="nav navbar-nav">
                        <li><a href="javascript:;" data-toggle="push-menu"><i class="icon icon-bars"></i></a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdown">
                            <a href="javascript:;" data-toggle="dropdown"><i class="icon icon-user"></i> 管理员 <span
                                    class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a data-toggle="modal" data-target="#userInfo">个人信息</a></li>
                                <li><a data-toggle="modal" data-target="#upUserPw">修改密码</a></li>
                                <li class="divider"></li>
                                <li><a href="{:url('logout')}" rel="external nofollow">注销</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
    </header>
    <aside class="main-sidebar">
        <section class="sidebar">
            <ul class="sidebar-menu" data-widget="tree">
                <li class="header">主要菜单</li>
                <li class="active">
                    <a href="index.html">
                        <i class="icon icon-dashboard"></i>
                        <span>首页</span>
                        <span class="pull-right-container">
                            </span>
                    </a>
                </li>
                <li class="treeview">
                    <a href="javascript:;">
                        <i class="icon icon-file"></i>
                        <span>主要功能</span>
                        <span class="pull-right-container">
                                <i class="icon icon-angle-left"></i>
                            </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="#"><i class="icon icon-circle-blank"></i> 学生管理</a></li>
                        <li><a href="#"><i class="icon icon-circle-blank"></i> 专业管理</a></li>
                        <li><a href="#"><i class="icon icon-circle-blank"></i> 班级管理</a></li>
                        <li><a href="#"><i class="icon icon-circle-blank"></i> 成绩管理</a></li>
                        <li><a href="userlist.html"><i class="icon icon-circle-blank"></i> 管理员</a></li>
                    </ul>
                </li>
            </ul>
        </section>
    </aside>
    <div class="content-wrapper">
        <div class="content-header">
            <ul class="breadcrumb">
                <li><a href="#"><i class="icon icon-home"></i></a></li>
                <li class="active">首页</li>
            </ul>
        </div>
        <div class="content-body">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-3 col-sm-6 col-xs-12">
                        <div class="info-box bg-info">
                            <div class="info-box-icon">
                                <i class="icon icon-file-text"></i>
                            </div>
                            <div class="info-box-content">
                                <span class="info-box-text">机构数量</span>
                                <span class="info-box-number">
                                        <small>个</small>
                                    </span>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6 col-xs-12">
                        <div class="info-box bg-primary">
                            <div class="info-box-icon">
                                <i class="icon icon-user"></i>
                            </div>
                            <div class="info-box-content">
                                <span class="info-box-text">用户总量</span>
                                <span class="info-box-number">
                                        <small>个</small>
                                    </span>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6 col-xs-12">
                        <div class="info-box bg-warning">
                            <div class="info-box-icon">
                                <i class="icon icon-bars"></i>
                            </div>
                            <div class="info-box-content">
                                <span class="info-box-text">角色数量</span>
                                <span class="info-box-number">
                                        <small>个</small>
                                    </span>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6 col-xs-12">
                        <div class="info-box bg-danger">
                            <div class="info-box-icon">
                                <i class="icon icon-eye-open"></i>
                            </div>
                            <div class="info-box-content">
                                <span class="info-box-text">登录人数</span>
                                <span class="info-box-number">
                                        <small>个</small>
                                    </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="panel">
                            <div class="panel-heading">
                                <div class="panel-title">产品信息</div>
                            </div>
                            <div class="panel-body">
                                <table class="table table-info">
                                    <tr>
                                        <td>产品名称</td>
                                        <td>学生信息管理系统</td>
                                    </tr>
                                    <tr>
                                        <td>核心框架</td>
                                        <td>zui v1.7.0</td>
                                    </tr>
                                    <tr>
                                        <td>开发作者</td>
                                        <td>梁诗明</td>
                                    </tr>
                                    <tr>
                                        <td>联系方式</td>
                                        <td>QQ：2875219565</td>
                                    </tr>
                                    <tr>
                                        <td>个人博客</td>
                                        <td><a target="_blank" href="http://lsm007.tk">lsm007.tk</a></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="panel">
                            <div class="panel-heading">
                                <div class="panel-title">服务器信息</div>
                            </div>
                            <div class="panel-body">
                                <table class="table table-info">
                                    <tr>
                                        <td>操作系统</td>
                                        <td>未知</td>
                                    </tr>
                                    <tr>
                                        <td>运行环境</td>
                                        <td>nginx</td>
                                    </tr>
                                    <tr>
                                        <td>PHP版本</td>
                                        <td>PHP-7.1</td>
                                    </tr>
                                    <tr>
                                        <td>MYSQL版本</td>
                                        <td>10.1.11-MariaDB-log</td>
                                    </tr>
                                    <tr>
                                        <td>上传限制</td>
                                        <td>20M</td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--个人信息Modal -->
<form action="{:url('userInfo')}" method="post">
    <div class="modal fade" id="userInfo" tabindex="-1" role="dialog"
         aria-labelledby="myUserInfo">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"
                            aria-label="Close"><span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title" id="myUserInfo"><i class="icon icon-user"></i>个人信息</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="required">用户账号</label>
                                <div class="form-control-static">
                                    {$Think.session.username}
                                </div>

                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="required">用户姓名</label>
                                <div>
                                    <input type="text" class="form-control" name="username">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button sumbit" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
</form>

<!--修改当前用户密码Modal -->
<form action="{:url('modifyPwd')}" method="post">
    <div class="modal fade" id="upUserPw" tabindex="-1" role="dialog"
         aria-labelledby="myUserPw">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"
                            aria-label="Close"><span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title" id="myUserPw"><i class="icon icon-lock"></i>修改密码</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="required">用户账号</label>
                                <div class="form-control-static">
                                    {$Think.session.username}
                                </div>

                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="required">新密码</label>
                                <div>
                                    <input type="password" class="form-control" name="password">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button sumbit" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
</form>

<!-- zui js -->
<script src="/admin/dist/js/zui.js"></script>
<!-- app js -->
<script src="/admin/js/app.js"></script>
</body>
</html>